package com.ethink.warehouse.api.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 入库/出库明细单 新增请求对象
 *
 * @author default
 * @date 2022-12-15
 */
@Data
public class MateInventoryDetailOrderAddRequest {

    @Schema(description ="原始详单号")
    private String sourceDetailOrderNo;

    @Schema(description ="库存ID")
    private Long mateInventoryId;

    @Schema(description ="商品SKU")
    private String mateSku;

    @Schema(description ="枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType;

    @Schema(description ="渠道")
    private String saleSubChannel;

    @Schema(description ="采购批次")
    private String purchaseCode;

    @Schema(description ="生产批次")
    private String produceCode;

    @Schema(description ="原产国")
    private String countryOfOrigin;

    @Schema(description ="入库日期")
    private Date operateTime;

    @Schema(description ="商品生产日期")
    private Date productDate;

    @Schema(description ="商品过期日期")
    private Date expireDate;

    @Schema(description ="最终数量(入库/出库)")
    private Integer actualInQty;

    @Schema(description ="采购单号")
    private String purchaseOrderNo;

    @Schema(description ="采购详单号")
    private String purchaseDetailOrderNo;

    @Schema(description ="成本单价")
    private BigDecimal costPrice;


}
